/*
 * @Author: jhw
 * @Date: 2025-08-07 21:37:06
 * @LastEditors: jhw
 * @LastEditTime: 2025-08-11 10:51:07
 * @Description:
 */
import type { VueComType, Status } from './common';
import type { Material } from './material';

export type MaterialItem = {
  materialName: Material;
  comName: string;
  // 是否是预设组件
  isPreset?: boolean;
};

export type MaterialItemList = Array<MaterialItem>;

export interface MaterialGroup {
  title: string;
  icon: VueComType;
  list: MaterialItemList;
}

export type DefaultStatusMap = {
  [key in Material]: () => Status;
};
